//
//  NSArray+MLXExtension.m
//  Pods
//
//  Created by SY on 2019/1/5.
//

#import "NSArray+MLXExtension.h"

@implementation NSArray (MLXExtension)
-(NSString *)getNetPamaes{
    if (!self.count) return @"[]";
    NSMutableString *str = @"".mutableCopy;
    for (int i = 0; i < self.count; i++) {
        if (i == self.count -1) {
            [str appendFormat:@"\"%@\"",self[i]];
        }else{
            [str appendFormat:@"\"%@\",",self[i]];
        }
    }
    [str insertString:@"[" atIndex:0];
    [str insertString:@"]" atIndex:str.length];
    return str;
}
@end
